package com.java.star.mall.front.pojo.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单项实体
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OrderItem extends Base implements Serializable {

    private static final long serialVersionUID = 974574797539143425L;

    //id
    private Integer id;

    //订单id
    private Integer orderId;

    //订单号
    private String orderSn;

    //商品id
    private Integer proId;

    //商品名称
    private String proName;

    //商品价格
    private BigDecimal proPrice;

    //数量
    private Integer proNum;

    //商品图片
    private String proPic;
}
